#include <QCoreApplication>
#include <iostream>
using namespace std;

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    {
      int A,B,M = 0;
      cout<<"Vvedite chislo A: ";
      cin>>A;
      cout<<"Vvedite chislo B: ";
      cin>>B;
      M=A-1;
      if (A<B)
      {
        int U=0;
        for (;A<=B;++A)
        {
          M++;
          cout<<M<<endl;
          U++;
        }
      cout<<U;
      }

}
    return a.exec();}
